package com.yang.mall.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 直播平台购物车表
 * </p>
 *
 * @author hx
 * @since 2021-06-26
 */
@Data
public class LiveShopCartVO {

    @ApiModelProperty(value = "购物车id")
    private Long id;

    @ApiModelProperty(value = "会员id")
    private Long memberId;

    @ApiModelProperty(value = "商品id")
    private Long productId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品编码")
    private String productCode;

    @ApiModelProperty(value = "规格")
    private String skuName;

    @ApiModelProperty(value = "缩略图")
    private String photoUrl;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal marketPrice;

    @ApiModelProperty(value = "划线价格")
    private BigDecimal labelPrice;

    @ApiModelProperty(value = "直播价格")
    private BigDecimal livePrice;

    @ApiModelProperty(value = "库存")
    private Integer stockNum;
}
